﻿<!DOCTYPE html>
<html lang="en">
<#include "../include/resource-head.ftl"/>
<#assign active="cardList"/>
<body>
<#include "../include/common-top.ftl"/>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
    <#include "../include/common-menu.ftl"/>
        <div class="main-content">
            <div class="page-content">
                <div class="col-xs-12">
                    <div class="row-fluid">
                        <div class="widget-box">
                            <div class="widget-header widget-header-blue widget-header-flat">
                                <h4 class="lighter">
                                    <i class="icon-plus"></i>修改信用记录
                                </h4>
                            </div>
                            <div class="widget-body">
                                <div class="widget-main">
                                    <div class="step-content row-fluid position-relative">
                                        <form class="form-horizontal" action="/person/update" method="post">
                                            <input type="hidden" name="id" value="${person.id!}">
                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">姓名</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <input type="text" class="width-100" readonly
                                                           value="${person.name!}"/>
                                                </div>
                                            </div>

                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">身份证号码</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <input type="text" class="width-100" readonly
                                                           value="${person.card!}"/>
                                                </div>
                                            </div>

                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">手机号</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <input type="text" class="width-100" readonly
                                                           value="${person.phone!}"/>
                                                </div>
                                            </div>

                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">单位</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <input type="text" class="width-100" readonly
                                                           value="${person.unit!}"/>
                                                </div>
                                            </div>

                                            <#if type == 'card'>
                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">信用卡等级</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <select class="form-control" name="cardlevel">
                                                        <option value="无限卡">无限卡</option>
                                                        <option value="白金卡"
                                                                <#if person.cardlevel! == '白金卡'>selected</#if>>白金卡
                                                        </option>
                                                        <option value="金卡"
                                                                <#if person.cardlevel! == '金卡'>selected</#if>>金卡
                                                        </option>
                                                        <option value="普通卡"
                                                                <#if person.cardlevel! == '普通卡'>selected</#if>>普通卡
                                                        </option>
                                                    </select>
                                                </div>
                                            </div>

                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">信用卡状态</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <select class="form-control" name="cardstatus">
                                                        <option value="已逾期"
                                                                <#if person.cardstatus! == '已逾期'>selected</#if>>已逾期
                                                        </option>
                                                        <option value="未逾期"
                                                                <#if person.cardstatus! == '未逾期'>selected</#if>>未逾期
                                                        </option>
                                                    </select>
                                                </div>
                                            </div>
                                            </#if>

<#if type == 'gjj'>
                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">公积金等级</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <select class="form-control" name="gjjlevel">
                                                        <option value="C级">C级</option>
                                                        <option value="B级" <#if person.gjjlevel! == 'B级'>selected</#if>>
                                                            B级
                                                        </option>
                                                        <option value="BB级"
                                                                <#if person.gjjlevel! == 'BB级'>selected</#if>>BB级
                                                        </option>
                                                        <option value="BBB级"
                                                                <#if person.gjjlevel! == 'BBB级'>selected</#if>>BBB级
                                                        </option>
                                                        <option value="A级" <#if person.gjjlevel! == 'A级'>selected</#if>>
                                                            A级
                                                        </option>
                                                        <option value="AA级"
                                                                <#if person.gjjlevel! == 'AA级'>selected</#if>>AA级
                                                        </option>
                                                        <option value="AAA级"
                                                                <#if person.gjjlevel! == 'AAA级'>selected</#if>>AAA级
                                                        </option>
                                                    </select>
                                                </div>
                                            </div>

                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">公积金状态</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <select class="form-control" name="gjjstatus">
                                                        <option value="严重失信">严重失信</option>
                                                        <option value="一般失信"
                                                                <#if person.gjjstatus! == '一般失信'>selected</#if>>一般失信
                                                        </option>
                                                        <option value="未失信"
                                                                <#if person.gjjstatus! == '未失信'>selected</#if>>未失信
                                                        </option>
                                                    </select>
                                                </div>
                                            </div>

</#if>

<#if type == 'dk'>
                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">贷款信用等级</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <select class="form-control" name="dklevel">
                                                        <option value="无贷款">无贷款</option>
                                                        <option value="有贷款-正常"
                                                                <#if person.dklevel! == '有贷款-正常'>selected</#if>>有贷款-正常
                                                        </option>
                                                        <option value="有贷款-关注"
                                                                <#if person.dklevel! == '有贷款-关注'>selected</#if>>有贷款-关注
                                                        </option>
                                                        <option value="有贷款-次级"
                                                                <#if person.dklevel! == '有贷款-次级'>selected</#if>>有贷款-次级
                                                        </option>
                                                        <option value="有贷款-可疑"
                                                                <#if person.dklevel! == '有贷款-可疑'>selected</#if>>有贷款-可疑
                                                        </option>
                                                        <option value="有贷款-损失"
                                                                <#if person.dklevel! == '有贷款-损失'>selected</#if>>有贷款-损失
                                                        </option>
                                                    </select>
                                                </div>
                                            </div>

                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">贷款失信状态</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <select class="form-control" name="dkstatus">
                                                        <option value="失信">失信</option>
                                                        <option value="未失信"
                                                                <#if person.dkstatus! == '未失信'>selected</#if>>未失信
                                                        </option>
                                                    </select>
                                                </div>
                                            </div>

</#if>

<#if type == 'zfb'>
                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">支付宝信用等级</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <select class="form-control" name="zfblevel">
                                                        <option value="700-950">700-950</option>
                                                        <option value="650-700"
                                                                <#if person.zfblevel! == '650-700'>selected</#if>>
                                                            650-700
                                                        </option>
                                                        <option value="600-650"
                                                                <#if person.zfblevel! == '600-650'>selected</#if>>
                                                            600-650
                                                        </option>
                                                        <option value="550-600"
                                                                <#if person.zfblevel! == '550-600'>selected</#if>>
                                                            550-600
                                                        </option>
                                                        <option value="350-550"
                                                                <#if person.zfblevel! == '350-550'>selected</#if>>
                                                            350-550
                                                        </option>
                                                    </select>
                                                </div>
                                            </div>

                                            <div class="form-group has-doc">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">支付宝失信状态</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <select class="form-control" name="zfbstatus">
                                                        <option value="失信">失信</option>
                                                        <option value="未失信"
                                                                <#if person.zfbstatus! == '未失信'>selected</#if>>未失信
                                                        </option>
                                                    </select>
                                                </div>
                                            </div>
</#if>

                                            <hr/>
                                            <div class="row-fluid wizard-actions">
                                                <button class="btn" type="reset">重置</button>
                                                <button class="btn btn-success" type="submit">提交</button>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div><!-- /.page-content -->
        </div><!-- /.main-content -->
    </div><!-- /.main-container -->
</body>
<#include "../include/resource-script.ftl"/>
</html>

